<template>
  <view class="background_box">
    <slot name="body"></slot>
    
  </view>
</template>
<script>
export default {
  name: "background",
};
</script>
<style lang="scss">
.background_box {
  width: 100%;
  height: 340rpx;
  background: url("../../static/images/bg.png");
  background-position: center center;
  background-size: 100% 100%;
}

</style>